home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Dev / SpeakFreely_Src / audio_descr.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-27  |  509 b   |  19 lines

  1. #ifndef _audio_descr_h
  2. #define _audio_descr_h
  3.  
  4. typedef enum {
  5.   AE_PCMU, AE_PCMA, AE_G721, AE_IDVI, AE_G723, AE_GSM,
  6.   AE_1016, AE_LPC, 
  7.   AE_L8, AE_L16, AE_L24, AE_L32,
  8.   AE_G728, AE_TRUE,
  9.   AE_MAX
  10. } audio_encoding_t;
  11.  
  12. /* common audio description for files and workstation */
  13. typedef struct {
  14.   audio_encoding_t encoding;  /* type of encoding (differs) */
  15.   unsigned sample_rate;       /* sample frames per second */
  16.   unsigned channels;          /* number of interleaved channels */
  17. } audio_descr_t;
  18. #endif
  19.